//Get Attention Message
function getMessageAttention(message) {
    document.getElementById("divGridValidation").className = "notification attention png_bg";
    document.getElementById("divGridValidation").style.display = "block";
    document.getElementById("GridNotificationLabel").innerHTML = message;
    document.getElementById("anchorGridNotification").focus();
}

//Get Error Message
function getMessageError(message) {
    document.getElementById("divGridValidation").className = "notification error png_bg";
    document.getElementById("divGridValidation").style.display = "block";
    document.getElementById("GridNotificationLabel").innerHTML = message;
    document.getElementById("anchorGridNotification").focus();
}

//Get Success Message
function getMessageSuccess(message) {
    document.getElementById("divGridValidation").className = "notification success png_bg";
    document.getElementById("divGridValidation").style.display = "block";
    document.getElementById("GridNotificationLabel").innerHTML = message;
    document.getElementById("anchorGridNotification").focus();
}

//Get Information Message
function getMessageInformation(message) {
    document.getElementById("divGridValidation").className = "notification information png_bg";
    document.getElementById("divGridValidation").style.display = "block";
    document.getElementById("GridNotificationLabel").innerHTML = message;
    document.getElementById("anchorGridNotification").focus();
}

function hideNotification(time) {
    setInterval(function () { hidediv('divGridValidation'); }, time);
}

function hidediv(arg) {
    document.getElementById(arg).style.display = 'none';
}